package com.lfy.service;

import com.alibaba.csp.sentinel.annotation.SentinelResource;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService {
    @Override
    @SentinelResource(value = "getUserName")
    public String getUserName() {
        return "一直tom猫";
    }
}